﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Hello
    {
        private string name { get; set; }
        private string nikename { get; set; }
        private string horeinfo { get; set; }
        private int attack { get; set; }
        private int defense { get; set; }
        private int speed { get; set; }

        public Hello(string name, string nikename, string horeinfo, int attack, int defense, int speed)
        {

            this.name = name;
            this.nikename = nikename;
            this.horeinfo = horeinfo;
            this.attack = attack;
            this.defense = defense;
            this.speed = speed;
        }
        public void hello()
        {
            Console.WriteLine("我的昵称是{0}，我的英雄是：{1}，英雄简介：{2}。", this.name, this.nikename, this.horeinfo);
            Console.WriteLine("他的攻击力为：{0}，防御力为：{1}，速度为：{2}。", this.attack, this.defense, this.speed); 
            
        }
    }
}
